package com.example.mongodb.controller.抽象工厂模式;

/**
 * @author zxb
 * @version 1.0
 * @date 2025-04-01 9:52
 */
public class test {



    public static void main(String[] args) {

        // 获取小米工厂
        XiaoMiFactoryImpl4 xiaoMiFactoryImpl4 = new XiaoMiFactoryImpl4();

        // 获取具体的小米产品
        Iphone1 iphone = xiaoMiFactoryImpl4.iphone();
        iphone.callup();
        iphone.sendSMS();


    }

}
